package cn.iocoder.yudao.module.digital.controller.admin.cardkeyproduct.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 用户 Excel 导入 VO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false)
public class CardKeyProductImportExcelVO {

    @ExcelProperty("CDK编号")
    @NotEmpty
    private String productNo;

    @ExcelProperty("CDK名称")
    @NotEmpty
    private String productName;

    @ExcelProperty("货币")
    @NotEmpty
    private String currencyCode;

    @ExcelProperty("商品面值")
    @NotNull
    private BigDecimal denominationFixed;

    @ExcelProperty("商品最小面值")
    private BigDecimal denominationMin;

    @ExcelProperty("商品最大面值")
    private BigDecimal denominationMax;

    @ExcelProperty("成本")
    private BigDecimal costPrice;

    @ExcelProperty("卡号")
    private String cardNumber;

    @ExcelProperty("Code")
    private String code;

    @ExcelProperty("PIN")
    private String pin;

}
